﻿<%@ Page Title="" Language="C#" MasterPageFile="~/QLVB/User/User.master" AutoEventWireup="true" CodeFile="DuyetSoanThaoMauBieu.aspx.cs" Inherits="QLVB_User_DuyetSoanThaoMauBieu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%;">
        <tr>
            <td style="text-align: center">
            <asp:Label ID="lblTitle" runat="server" Text="DUYỆT SOẠN THẢO MẪU BIỂU"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="text-align: left">
                <asp:CheckBox ID="chkChonTatCa" runat="server" AutoPostBack="True" 
                    oncheckedchanged="chkChonTatCa_CheckedChanged" style="text-align: left" 
                    Text="Chọn tất cả" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="gvDuyetSoanThaoMauBieu" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" BackColor="White" BorderColor="#CC9966" 
                    BorderStyle="None" BorderWidth="1px" Caption="MẪU BIỂU CHỜ DUYỆT" 
                    CellPadding="4" DataKeyNames="MaMauBieu" Width="100%" 
                    onpageindexchanging="gvDuyetSoanThaoMauBieu_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <table style="width: 100%;">
                                    <tr>
                                        <td>
                                            <asp:CheckBox ID="chkMaMauBieu" runat="server" />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <table style="width: 100%;">
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblMaMauBieu_" runat="server" Text="Mã mẫu biểu"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMaMauBieu" runat="server" Text='<%# Eval("MaMauBieu") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblNoiDungMauBieu_" runat="server" Text="Nội dung mẫu biểu"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblNoiDungMauBieu" runat="server" 
                                                Text='<%# Eval("NoiDungMauBieu") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblTenFileMauBieu_" runat="server" Text="File mẫu biểu đính kèm"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:HyperLink ID="hlnkTenFileMauBieu" runat="server" 
                                                NavigateUrl='<%# "../VanBanLuuTru" + "/" + "MauBieu" + "/" + Eval("TenFileMauBieu") %>' 
                                                Text='<%# Eval("TenFileMauBieu") %>'></asp:HyperLink>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblTenFileCongVan" runat="server" Text="File công văn đính kèm"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:HyperLink ID="hlnkTenFileCongVan" runat="server" 
                                                NavigateUrl='<%# "../VanBanLuuTru" + "/" + "MauBieu" + "/" + Eval("TenFileCongVan") %>' 
                                                Text='<%# Eval("TenFileCongVan") %>'></asp:HyperLink>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblTenDonViSoanThao_" runat="server" Text="Tên đơn vị soạn thảo"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTenDonViSoanThao" runat="server" 
                                                Text='<%# Eval("TenDonViSoanThao") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblNgaySoanThao_" runat="server" Text="Ngày soạn thảo"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblNgaySoanThao" runat="server" 
                                                Text='<%# Eval("NgaySoanThao") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblNguoiSoanThao_" runat="server" Text="Người cập nhật"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMaNguoiSoanThao" runat="server" 
                                                Text='<%# Eval("MaNguoiSoanThao") %>'></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                    <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                    <RowStyle BackColor="White" ForeColor="#330099" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                    <SortedAscendingCellStyle BackColor="#FEFCEB" />
                    <SortedAscendingHeaderStyle BackColor="#AF0101" />
                    <SortedDescendingCellStyle BackColor="#F6F0C0" />
                    <SortedDescendingHeaderStyle BackColor="#7E0000" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                <asp:Button ID="btnDuyet" runat="server" onclick="btnDuyet_Click" Text="Duyệt" 
                    Width="100px" />
                <asp:Button ID="btnDong" runat="server" onclick="btnDong_Click" Text="Đóng" 
                    Width="100px" />
            </td>
        </tr>
    </table>
</asp:Content>

